package com.lxh.iot.service;


import com.lxh.system.api.domain.SysUser;

public interface ISysUserService {

    /**
     * 查询·用户id
     * @param userId
     * @return
     */
    SysUser selectUserById(Long userId);

    String checkUserNameUnique(String username);

    boolean registerUser(SysUser sysUser);

    void insertUserAuth(Long userId, Long[] roleIds);
}
